<style src="./index.scss" lang="scss" scoped rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
import OrderEvent from "@/mixin/orderEvent";

export default {
  mixins: [
    Vue.prototype.$vFN.Mixins.Base,
    Vue.prototype.$vFN.Mixins.Table,
    OrderEvent,
  ],
  computed: {},
  data() {
    return {
      load: false,
      item: null,
      title: "售后订单详情",

      // 售后订单详情
      orderData: "",

      // 窗口显示
      boxVisible: false,
    };
  },
  methods: {
    // 关闭窗口
    editBoxClose() {
      this.boxVisible = false;
    },
    // 取消
    editBoxCancel() {
      this.editBoxClose();
    },

    // 时间戳转换
    timeStampConversion(timeStamp) {
      return this.$vFN.Utils.timestampToDate("yyyy-MM-dd HH:mm:ss", timeStamp);
    },
  },
  watch: {},
  async mounted() {
    if (this.item) {
      this.orderData = this.item;
    }

    this.boxVisible = true;
  },
  beforeCreate() {},
};
</script>